﻿/*
 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
 */

#include "StringClass.h"

MyStringClass::StringClass::StringClass(QObject *parent) noexcept
    : QObject(parent),
    idsString33069(tr("No file selected. Please confirm.")),
    idsString33070(tr("COM will disconnect and button will disable if you click OK."
                               " Are you sure you want to continue?")),
    idsString32806(tr("Connection lost")),
    idsString32809(tr("Failed to open file.")),
    idsString32812(tr("Failed to open COM%1. Check whether COM is busy or does not exist.")),
    idsString32845(tr("Set result ")),
    idsString32880(tr("All images burnt successfully.")),
    idsString32881(tr("Images burn failed.\n")),
    idsString32882(tr("Start burning ")),
    idsString32883(tr("Overwrite existing file.")),
    idsString32889(tr("Cmd failed.")),
    idsString32890(tr("ACK fail return:%1")),
    idsString32893(tr("Upload end.")),
    idsString32894(tr("Wait connect success flag timeout.")),
    idsString32895(tr("Disconnect") + "\r\n"),
    idsString32897(tr("Connecting...") + "\n"),
    idsString32899(tr("No valid COM.")),
    idsString32918(tr("Connect")),
    idsString32941(tr("Burn Files(*.hbin *.hnv *.bin *.fwpkg *.tlv)")),
    idsString32944(tr("Please connect first.")),
    idsString32945(tr("Burning…Please wait.")),
    idsString32946(tr("Please select burn file.")),
    idsString32949(tr("Burn Files(*.hbin *.hnv *.bin);;All Files(*.*)")),
    idsString32971(tr("Recalibrate your board if RadioConfig file is programmed.")),
    idsString32976(tr("COM not open.")),
    idsString32984(tr("BurnTool is busy. Please wait until it is idle.")),
    idsString33074(tr("Burn Files(*.txt;*.ini);;All Files(*.*)")),
    idsString33075(tr("Overwrite existing config?")),
    idsString33092(tr("Out of memory.")),
    idsString33093(tr("Too many images.")),
    idsString33094(tr("CRC error.")),
    idsString33107(tr("Too many loaders. Burning will fail.")),
    idsString33184(tr("Load com config?")),
    idsString33270(tr("Invalid path exits.\n")),
    idsString33276(tr("Incorrect IP address and port")),
    idsString33277(tr("Whether to program the parameters or reeboot. If yes, "
                      "forbid terminating or powering off during the programming process.")),
    idsString33278(tr("Parameter error. Check the parameters.\n")),
    idsString33279(tr("Failed to open file. Check the file path.\n")),
    idsString33280(tr("The EFUSE will be changed irreversibly. Are you sure you want to continue?")),
    information(tr("Information")),
    actionSettings(tr("Settings")),
    actionJLinkSettings(tr("J-Link Settings")),
    actionUSBSettings(tr("USB Settings")),
    actionImportConfig(tr("Import Config")),
    actionSaveConfig(tr("Save Config")),
    actionLanguage(tr("Language")),
    messageError(tr("error")),
    noValidFlashFile(tr("No valid flash file.")),
    loadExistingConfig(tr("Load existing config?")),
    burnInterval(tr("Burn Interval(MS)")),
    yes(tr("yes")),
    no(tr("no")),
    outPutConfigFile(tr("Output config file?")),
    disconnect(tr("Disconnect")),
    normal(tr("normal")),
    eraseAll(tr("erase all")),
    noErase(tr("no erase")),
    changeChip(tr("Change chip")),
    changeAbout(tr("About")),
    startBurn(tr("Start burn")),
    stopBurn(tr("Stop burn")),
    exportStart(tr("Export")),
    exportStop(tr("Stop")),
    assertString(tr("Assert")),
    notReadAgainTips(tr("Failed to read the 1% file. "
                        "Please obtain the file read permission or"
                        " release the occupation and try again.")),
    fileCorruptionTips(tr("1% file format error, please confirm whether the file is damaged.")),
    notWriteAgainTips(tr("Failed to open the 1% file. "
                         "Please obtain file write permission or unoccupy and try again.")),
    notReadPermissionTips(tr("Failed to read the %1 file. "
                             "The chip information cannot be displayed."
                             " Please obtain file read permission or"
                             " restart the tool after unoccupying it.")),
    notInfoFileTips(tr("The %1 file does not exist and "
                       "the chip information cannot be displayed."
                       " Please re-decompress the compressed package."
                       " If it is still missing, please re-download the release package.")),
    ok(tr("OK")),
    cancel(tr("Cancel")),
    binTextOpen(tr("Open")),
    binTextClose(tr("Close")),
    binTextStop(tr("Stop")),
    binTextStart(tr("Start")),
    burnIntervalValueTips(tr("Burn Interval is out of range."
        "The maximum value is 30 and the minimum value is 1.")),
    usbBurnMode(tr("Burn mode is USB")),
    uartBurnMode(tr("Burn mode is UART")),
    eraseMode(tr("Erase mode is %1")),
    writeFileErrorTips(tr("Failed to write the 1% file. "
                       "Please obtain file write permission or unoccupy and try again.")),
    createNewFile(tr("Create new file")),
    saveSplitFile(tr("Save spilt file"))
{
}
MyStringClass::StringClass::~StringClass()
{
}
